Gets the element with the specified key.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
TryGetValue ( _
	
key 
As K, _
		<
OutAttribute> 
ByRef 
value 
As V _
) 
As 
Boolean
C#
public 
bool 
TryGetValue(
		K 
key,
	
out V 
value
)
Visual C++
public:
virtual 
bool 
TryGetValue(
		K 
key, 
		[
OutAttribute] V% 
value
) 
sealed
JavaScript
function 
tryGetValue(
key, 
value);

Parameters

key
Type: K
The key of the element to get.
value
Type: V %
The element with the specified key.

Return Value

True if it retrieves a value otherwise, false.

Implements

IDictionaryTryGetValue(UTP, UTP % )

See Also